dvb_desc_parse

@brief parse MPEG-TS descriptors @ingroup dvb_table

@param parms Struct dvb_v5_fe_parms pointer @param buf Buffer with data to be parsed @param buflen Size of the buffer to be parsed @param head_desc pointer to the place to store the parsed data

This function takes a buf as argument and parses it to find the MPEG-TS descriptors inside it, creating a linked list.

On success, head_desc will be allocated and filled with a linked list with the descriptors found inside the buffer.

This function is used by the several MPEG-TS table handlers to parse the entire table that got read by dvb_read_sessions and other similar functions.

@return Returns 0 on success, a negative value otherwise.

extern (C)
int
dvb_desc_parse
(,
const(ubyte)* buf
,
ushort buflen
,)

Meta